package work1;

public class Ticketmaker {
    private static Ticketmaker t=new Ticketmaker();

    private int a=0;

    private Ticketmaker(){
        for (int i = 0; i >=1000 ; i++) {
            a++;
        }
        System.out.println(a);

    }

    public static Ticketmaker getNextTicketNumber(){

        return t;
    }

}
